﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="welcome.aspx.cs" Inherits="welcome" %>
<!DOCTYPE >
<html >
<head >
    <title>樂點公車即時資訊服務</title>
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  <link type="text/css" rel="stylesheet" href="css/style.css"/>
  <style type="text/css">
  html,body { height: 100%;width:100% ;margin: 0px; padding: 0px ;}
  img{
	width:100%;
	height:100%;
	z-index:-1;
}
</style>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34126365-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body  onload="window.setTimeout('to()',3000)">
<div style="width:100%;height:100%;"><img src="icon/<%=img %>.jpg" border="0" /></div>
</body>
</html>

<script>
    function to() {
        document.location = 'adver.aspx?date=<%= System.DateTime.Now.ToString("yyyyMMdd") %>';
    }
</script>

